<!--
 * @Description: 
 * @Author: zzj
 * @Date: 2021-09-22 08:49:29
 * @LastEditors: zzj
 * @LastEditTime: 2021-09-23 08:46:46
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
    <style>
        table ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        table {
            border-collapse: collapse;
        }
        table ul>li{
            border-bottom: 1px solid #ccc;
            line-height: 2em;
        }
        table ul>li:last-child{
            border-bottom: none;
        }
    </style>
</head>
<body>
    <table border="1" cellspacing="0" width="100%">
        <caption>任务分配表</caption>
        <tbody>
            <tr>
                <td rowspan="3">张三</td>
                <td>任务一</td>
            </tr>
            <tr>
                <td>任务二</td>
            </tr>
            <tr>
                <td>任务三</td>
            </tr>
            <tr>
                <td rowspan="3">李四</td>
                <td>任务1</td>
            </tr>
            <tr>
                <td>任务2</td>
            </tr>
            <tr>
                <td>任务3</td>
            </tr>
            <tr>
                <td>王五</td>
                <td>
                    <ul>
                        <li>任务1</li>
                        <li>任务2</li>
                        <li>任务3</li>
                        <li>任务4</li>
                        <li>任务5</li>
                    </ul>
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>